package com.share.dao.attach.advertise;

import java.util.LinkedHashMap;
import java.util.List;

import com.share.bean.attach.advertise.Advertise;

public interface AdvertiseDao {

	public void saveAdvertiseDao(Advertise ad) throws RuntimeException ;
	
	public void deleteAdvertiseDao(Object... ids) throws RuntimeException ;
	
	public void updateAdvertiseDao(Advertise ad) throws RuntimeException ;
	
	public Advertise loadByIdAdvertiseDao(int id) throws RuntimeException ;
	
	public List<Advertise> findAllAdvertiseDao(String hql,String whereHQL,List<Object> param,LinkedHashMap<String , String> orderby) throws RuntimeException ;
}
